package cn.boysoft.core.model.message.xml;

import cn.boysoft.core.model.XML;
import cn.boysoft.core.model.message.Response;
import cn.boysoft.core.util.XmlUtil;

/**
 * @author 付厚俊
 * CreateTime 2013-4-4 下午12:56:36
 */
public class XMLResponse implements XML{

	private Response response;
	public XMLResponse(Response response){
		this.response = response;
	}

	@Override
	public String toXml() {
		return XmlUtil.toXml(response);
	}
}
